package com.item.dao;

import com.item.dao.model.MediaFile;
import com.item.dao.model.MediaFileExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MediaFileMapper {
    int countByExample(MediaFileExample example);

    int deleteByExample(MediaFileExample example);

    int deleteByPrimaryKey(String fileId);

    int insert(MediaFile record);

    int insertSelective(MediaFile record);

    List<MediaFile> selectByExample(MediaFileExample example);

    MediaFile selectByPrimaryKey(String fileId);

    int updateByExampleSelective(@Param("record") MediaFile record, @Param("example") MediaFileExample example);

    int updateByExample(@Param("record") MediaFile record, @Param("example") MediaFileExample example);

    int updateByPrimaryKeySelective(MediaFile record);

    int updateByPrimaryKey(MediaFile record);
}